#include "GameStateIntro.h"

GameStateIntro::GameStateIntro(GameStateManager& gameStateManager):
GameState(gameStateManager)
{
}


GameStateIntro::~GameStateIntro()
{
}

/**
 * @fn	void GameStateIntro::start()
 *
 * @brief	Trigger the event "pause" with true parameter (starting the pause).
 *
 */
void GameStateIntro::start()
{
	EventManager<bool>::getInstance().call("pause", true);
}

void GameStateIntro::end()
{

}

/**
 * @fn	void GameStateIntro::inputKeyReturn()
 *
 * @brief	Change state to GameStateGame.
 *
 */
void GameStateIntro::inputKeyReturn()
{
	m_gameStateManager.changeState(std::make_shared<GameStateGame>(m_gameStateManager));
}

void GameStateIntro::inputKeyEscape()
{

}

void GameStateIntro::inputKeyUp()
{
}

void GameStateIntro::inputKeyDown()
{
}